#pragma once
#include "stdafx.h"
#include "Element.h"
#include "IStreamInput.h"
#include "JsonSchema.h"
class RandomGeneratedStreamInput: public IStreamInput
{
private:
	boost::shared_ptr<JsonSchema> schema;
	void getNextElement(Element& element);
public:
	RandomGeneratedStreamInput(boost::shared_ptr<JsonSchema> schema);
	~RandomGeneratedStreamInput(void);
	bool isEmpty();
	void initial();
};

